import React from 'react'
import ReactDom from 'react-dom'
import { HashRouter, Route } from 'react-router-dom'
import './common/style/reset.css'
import 'antd/dist/antd.css';
import './common/style/main.css'

/*引用组件*/
import Home from 'home/Home.js'
import Suggest from 'suggest/Suggest.js'
import State404 from 'state404/State404.js'
/*引用组件END*/

ReactDom.render((
    <HashRouter>
        <div>
            <Route path="/home" component={Home}/>
            <Route path="/suggest" component={Suggest}/>
            <Route path="/state404" component={State404}/>
        </div>
    </HashRouter>
    ), document.getElementById('root')
);

